<?php
/**
 * author: day
 * date: 2018-10-08 15:18
 * description: 资金流水类型
 */

namespace common\enum;

class MoneyLogEnum
{
    const USER_MONEY_INCOME = 1;                                      // 'name' => '收入',
    const USER_MONEY_COST = 2;                                        // 'name' => '支出',
    const USER_MONEY_SWITCH = 3;                                      // 'name' => '额度转换',
    // ==================== 会员收入类型 格式：1** ====================
    const USER_DEPOSIT_ONLINE = 100;                                   // 'name' => '在线充值',
    const USER_DEPOSIT_COMPANY = 101;                                  // 'name' => '公司入款',
    const USER_DEPOSIT_ACTIVITY = 102;                                 // 'name' => '优惠活动',
    const USER_DEPOSIT_REBET = 103;                                    // 'name' => '返水',
    const USER_DEPOSIT_MANUAL_ADD = 104;                               // 'name' => '手动增加余额',
    const USER_DEPOSIT_MANUAL_REBET = 105;                             // 'name' => '手动发放返水',
    const USER_DEPOSIT_MANUAL_ACTIVITY = 106;                          // 'name' => '手动发放优惠',
    const USER_DEPOSIT_PRIZE_ADD = 107;                                // 'name' => '补派奖金',
    const USER_DEPOSIT_ACTIVITY_RECHARGE = 108;                        // 'name' => '充值优惠',
    const USER_CASH_WITHDRAWAL_REFUSED = 109;                          // 'name' => '提现拒绝',
    const USER_DEPOSIT_MANUAL = 111;                                   // 'name' => '手动存款',

    // ==================== 会员支出，格式：2** ====================
    const USER_WITHDROW_WITHDRAW = 200;                                // 'name' => '会员提款',
    const USER_WITHDROW_WITHDRAW_MANUAL = 201;                         // 'name' => '手动提款',
    const USER_WITHDROW_DEDUCT_ACTIVITY = 202;                         // 'name' => '扣除优惠',
    const USER_WITHDROW_REDUCE_MANUAL = 203;                           // 'name' => '手动减少余额',
    const USER_WITHDROW_PRIZE_REDUCE = 204;                            // 'name' => '扣回奖金',
    const USER_CASH_WITHDRAWAL_PAYED = 205;                            // 'name' => '会员手动提现-提现付款（财务打款成功）',
    const USER_WITHDROW_REVOKE_REBET = 206;                            // 'name' => '返水冲销',
    const USER_CASH_OFFLINE_WITHDRAWAL_PAYED = 207;                    // 'name' => '厅主后台人工提现-提现付款（财务打款成功）',

    // ==================== 会员钱包同步，格式：3**  ====================
    const USER_TRANSFER_PTOM = 300;                                      // 'name' => '子转主钱包',
    const USER_TRANSFER_MTOP = 301;                                      // 'name' => '主转子钱包',
    const USER_TRANSFER_PTOM_MANUAL = 302;                               // 'name' => '手动子转主钱包',
    const USER_TRANSFER_MTOP_MANUAL = 303;                               // 'name' => '手动主转子钱包',
    const USER_TRANSFER_MTOP_LOCK = 304;                               // 'name' => '主转子钱包,锁定金额',
    const USER_TRANSFER_MTOP_UNLOCK = 305;                               // 'name' => '主转子钱包,解锁金额',
    const USER_TRANSFER_MTOP_LOCK_REVERT = 306;                               // 'name' => '主转子钱包,转账失败,解锁金额',

    // ==================== 代理收入，格式11** ====================
    const AGENT_DEPOSIT_CHARGES = 1101;                             // 'name' => '代理退佣',
    const AGENT_DEPOSIT_REBET = 1102;                               // 'name' => '代理退水',
    const AGENT_DEPOSIT_ADDMONEY_MANUAL = 1103;                     // 'name' => '手动增加余额',

    // ==================== 代理支出，格式12** ====================
    const AGENT_WITHDROW_WITHDRAW = 1201;                            // 'name' => '代理提款',
    const AGENT_WITHDROW_REDUCE_MANUAL = 1202;                       // 'name' => '手动减少余额',
    const AGENT_WITHDROW_CHARGES_BACK = 1203;                        // 'name' => '撤销代理退佣',

    const CATEGORY_IN = 1;                                             //收入
    const CATEGORY_OUT = 2;                                              //支出
}